// 组合redux子模块 + 导出store实例

import { configureStore } from "@reduxjs/toolkit";
import userReducer from "./modules/user";
import studentReducer from "./modules/student";
import parentReducer from "./modules/parent";
import teacherReducer from "./modules/teacher";

export default configureStore({
    reducer:{
        user:userReducer,
        student:studentReducer,
        parent:parentReducer,
        teacher:teacherReducer,
    }
})